﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Baimasoft.Manage.SqlServerDAL;

public partial class SysManage_OutPage_Index : System.Web.UI.Page
{
    UserManage MyUM = new UserManage();

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            Indicator.Text = Request.QueryString["sIndicator"].ToString();
        }
        catch
        {
        }
    }
    protected void Btn_10_ServerClick(object sender, EventArgs e)
    {
        int back = MyUM.SubmitChildID ("Sys_OutPage_Info").Rows.Count;
        if (back >= 0)
        {
            ClientScript.RegisterStartupScript(this.GetType(), "", "<script language=javascript>alert('发布成功');var i=screen.availWidth;var j=screen.availHeight;javascript:window.open('index.htm','白马软件后台管理系统','toolbar=no,left=0,top=0,titlebar=no,location=no,status=yes,menubar=no,scrollbars=no,resizable=yes,scrolling=no,width='+i+',height='+j+'');window.opener=null;window.close();<" + "/script>");
        }
        else
        {
            ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('发布失败!');</script>");
        }
    }
}
